package com.sell.sell.entity;

import lombok.Data;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单详情表
 * @Author: HZP
 * @Date: 2018-09-20 下午 5:55
 * @Version 1.0
 */

@Data
@Entity
public class OrderDetail{
    @Id
    private String detailId;
    private String orderId;
    private String productId;
    private String productName;
    private Integer productQuantity;
    private BigDecimal productPrice;
    private String productIcon;
    @CreatedDate
    private Date createTime;
    @LastModifiedDate
    private Date updateTime;


}
